#include "widget.h"
#include "ui_widget.h"
#include<QDebug>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_radioButton_clicked()
{
    qDebug()<<"clicked";
}

void Widget::on_radioButton_2_clicked(bool checked)
{
    (void)checked;
    qDebug()<<"clicked(bool checked)";
}

void Widget::on_radioButton_3_pressed()
{
    qDebug()<<"pressed";
}

void Widget::on_radioButton_4_released()
{
    qDebug()<<"released";
}

void Widget::on_radioButton_5_toggled(bool checked)
{
    if(checked)
        qDebug()<<"toggled check true";
    else
        qDebug()<<"toggled check false";
}
